<?php
include("../db_connect.php");
$username =  mysql_real_escape_string(htmlentities(trim($_GET['username'])));

$sql1 = mysql_query("SELECT * FROM tbl_account where username='$username' ");
$numrow1 = mysql_num_rows($sql1);
	if (mysql_affected_rows())		
			echo "1";
		else		
			echo "0";


mysql_close($conn);
?>